# Note: Visibility _only_ works for subs and is used to avoid hits in combat.
# Do not put the visibility value of subs in relation to that of other units (which is in fact unused.)

# 0 - Coastal Submarine
model = {
	cost						= 4
	buildtime					= 100
	defaultorganisation 		= 15 # -15%
	manpower					= 1
	maxspeed					= 12
	surfacedetectioncapability	= 3
	airdetectioncapability		= 1
	subdetectioncapability		= 1
	visibility					= 12
	seadefence					= 1 # -2
	airdefence					= 1
	seaattack					= 1
	subattack					= 1
	airattack					= 1
	shorebombardment			= 0
	transportcapability			= 0
	aircraftcapacity			= 0
	range						= 4500
	supplyconsumption			= 0.2
	fuelconsumption				= 0.5
}
# 1 - Medium-Range Submarine
model = {
	cost						= 4
	buildtime					= 150
	defaultorganisation 		= 15 # -15%
	manpower					= 1
	maxspeed					= 16
	surfacedetectioncapability	= 4
	airdetectioncapability		= 1
	subdetectioncapability		= 1
	visibility					= 10
	seadefence					= 2 # -2
	airdefence					= 1
	seaattack					= 3
	subattack					= 1
	airattack					= 1
	shorebombardment			= 0
	transportcapability			= 0
	aircraftcapacity			= 0
	range						= 12000
	supplyconsumption			= 0.3
	fuelconsumption				= 0.7
}
# 2 - Long-Range Submarine
model = {
	cost						= 5
	buildtime					= 150
	defaultorganisation 		= 15 # -15%
	manpower					= 1
	maxspeed					= 18
	surfacedetectioncapability	= 5
	airdetectioncapability		= 1
	subdetectioncapability		= 1
	visibility					= 9
	seadefence					= 3 # -3
	airdefence					= 1
	seaattack					= 4
	subattack					= 1
	airattack					= 1
	shorebombardment			= 0
	transportcapability			= 0
	aircraftcapacity			= 0
	range						= 18000
	supplyconsumption			= 0.5
	fuelconsumption				= 0.8
}
# 3 - Electro Submarine
model = {
	cost						= 6
	buildtime					= 150
	defaultorganisation 		= 15 # -15%
	manpower					= 1
	maxspeed					= 18
	surfacedetectioncapability	= 5
	airdetectioncapability		= 1
	subdetectioncapability		= 3
	visibility					= 7
	seadefence					= 4 # -2
	airdefence					= 1
	seaattack					= 6
	subattack					= 2
	airattack					= 1
	shorebombardment			= 0
	transportcapability			= 0
	aircraftcapacity			= 0
	range						= 21000
	supplyconsumption			= 0.3
	fuelconsumption				= 0.5
}
# 4 - Small Electro Submarine
model = {
	cost						= 4
	buildtime					= 60
	defaultorganisation 		= 15 # -15%
	manpower					= 0.18
	maxspeed					= 12
	surfacedetectioncapability	= 4
	airdetectioncapability		= 1
	subdetectioncapability		= 2
	visibility					= 7
	seadefence					= 3 # -3
	airdefence					= 1
	seaattack					= 2
	subattack					= 1
	airattack					= 1
	shorebombardment			= 0
	transportcapability			= 0
	aircraftcapacity			= 0
	range					= 4000
	supplyconsumption			= 0.3
	fuelconsumption				= 0.5
}
# 5 - Nuclear Submarine
model = {
	cost						= 7
	buildtime					= 220 # +20
	defaultorganisation 		= 30 # -15%
	manpower					= 1
	maxspeed					= 25
	surfacedetectioncapability	= 7
	airdetectioncapability		= 1
	subdetectioncapability		= 5
	visibility					= 6
	seadefence					= 5 # -4
	airdefence					= 1
	seaattack					= 8
	subattack					= 2
	airattack					= 1
	shorebombardment			= 0
	transportcapability			= 0
	aircraftcapacity			= 0
	range						= 200000
	supplyconsumption			= 0.2
	fuelconsumption				= 0
}
